package com.leve.admin.service;

import com.leve.admin.domain.Comment;
import com.leve.admin.domain.Reply;
import com.leve.admin.domain.ResultBase;
import org.springframework.data.domain.PageRequest;

public interface MomentService {
    ResultBase moments(PageRequest request, String statusId, String name);

    ResultBase findCommentsByPost(String id);

    ResultBase batchVotes(String id, String voteNumber);

    ResultBase deletePost(String id);

    ResultBase createComment(String pid, Comment comment);

    ResultBase createReply(String pid, String cid, Reply reply);
}
